//
//  SMBPickerView.h
//  SMBPickerView
//
//  Created by Zongzhu on 16/4/11.
//  Copyright © 2016年 Zongzhu. All rights reserved.
//

#import <UIKit/UIKit.h>
@interface SMBPickerView : UIView

@property (nonatomic, strong) UIColor *toolbarBackgroundColor;
@property (nonatomic, strong) UIColor *toolbarButtonTextColor;
@property (nonatomic, strong, readonly) UIButton *cancelButton;
@property (nonatomic, strong, readonly) UIButton *completeButton;
@property (nonatomic, strong) id pickerView;
@property (nonatomic, strong) id selectedObject;
@property (copy) void (^onDismissCompletion)(id);
@property (copy) void (^onDismissCancel)(id);

+ (UIView *)rootView;

- (id)pickerViewWithRect:(CGRect)rect;

- (void)initializePickerView;

- (void)setPickerHidden: (BOOL)hidden
              callBack: (void(^)(NSString *))callBack;
-(void)donePicker:(BOOL)hidden
     selectString:(NSString*)selectString
         callBack:(void(^)(NSString *))callBack;
@end
